package com.tmt.im.service.controller.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

import static io.swagger.v3.oas.annotations.media.Schema.RequiredMode.REQUIRED;

/**
 * @Description TODO
 * @Author wuyi
 * @Date 2024/8/30 17:17
 * @Version 1.0
 **/
@Getter
@Setter
@Tag(name = "群组禁言请求对象", description = "群组禁言请求对象")
public class SessionBannedRequest implements Serializable {

    @Serial
    private static final long serialVersionUID = 4485332217885851386L;

    @Schema(requiredMode = REQUIRED, description = "群组ID")
    @NotNull(message = "群组ID不允许为null")
    private Long tid;

    @Schema(requiredMode = REQUIRED, description = "0，解除禁言；1，禁言普通成员；3，禁言整个群（包括群主）")
    private int muteType;

}
